
namespace ABA
{
    /// <summary>
    /// 网络消息包头接口。
    /// </summary>
    public interface IPacketHeader
    {
        /// <summary>
        /// 序列号
        /// </summary>
        int SeqID
        {
            get;
        }

        /// <summary>
        /// 命令号
        /// </summary>
        int OrderTypeID
        {
            get;
        }

        /// <summary>
        /// 时间戳
        /// </summary>
        int TimeStamp
        {
            get;
        }

        /// <summary>
        /// 包长度
        /// </summary>
        int PacketLength
        {
            get;
        }
    }
}